<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>SQLite Database Example</title>
</head>

<body>
  <h1>Database Results</h1>
  <button onclick="showTable()">刷新表格</button>
  <button onclick="addRecord()">新增记录</button>
  <button onclick="delRecord()">删除记录</button>
  <table border="1">
    <thead>
      <tr>
        <th>ID</th>
        <th>姓名</th>
        <th>性别</th>
        <th>年龄</th>
        <th>备注</th>
      </tr>
    </thead>
    <tbody id="resultTable"></tbody>
  </table>

  <!-- 导入JavaScript文件 -->
  <script src="renderer.js"></script>
</body>

</html>
